package designPattern.creation.factorypattern.factorymethodpattern;

import designPattern.creation.factorypattern.simplefactorypattern.BMW;

/**
 * @author 张琪
 * @date 2023/1/29 15:04
 */
public class Customer {
    public static void main(String[] args) {
        FactoryBMW factoryBMW320 = new FactoryBMW320();
        BMW bmw320 = factoryBMW320.createBMW();

        FactoryBMW factoryBMW523 = new FactoryBMW523();
        BMW bmw523 = factoryBMW523.createBMW();

    }
}
